package blackfactory;


class Base { 
	public String className = "Base"; 
    public void sayHello(){
    	System.out.println("Base hello");
    }
} 
class Derived extends Base { 
	  String className = "Derived"; 
	@Override
	  public void sayHello(){
    	System.out.println("Derived hello");
    }
} 

public class TestClass {
	//static int a=0;
	//    int b=++a;
   // static int c=++a;
  

	// private static int i = 12;
	// private static String j = "45";
	

	public static void main(String[] args) {
 
		// System.ut.println(TestClass.i + 3 + TestClass.j);
		Base b=new Derived();
		b.sayHello();
		System.out.println(b.className);
		System.out.println("true|true => "+(true|true));
		System.out.println("false|true => "+(false|true));
		System.out.println("true|false => "+(true|false));
		System.out.println("false|false => "+(false|false));
		System.out.println("***********************************");
		System.out.println("true||true => "+(true||true));
		System.out.println("false||true => "+(false||true));
		System.out.println("true||false => "+(true||false));
		System.out.println("false||false => "+(false||false));
		int a=3;
		a =~ 3;
		
		
	}
	

	
	
}


